package subscribe

type DevicePayload struct {
	DeviceNo string `json:"device_no"`
	Version  string `json:"version"`
	Hardware string `json:"hardware"`
	Alias    string `json:"alias"`
	Build    string `json:"build"`
	Storey   string `json:"storey"`
	Location string `json:"location"`
	Address  string `json:"address"`
}

func (p *DevicePayload) Topic() string {
	return TopicDeviceInfo
}
